#include "dmpch.h"
#include "Dream/Core/Window.h"

#ifdef DM_PLAT_WIN
	#include "Platform/Windows/WinWindow.h"
#endif // DM_PLAT_WIN

namespace Dream
{
	Scope<Window> Window::Create(const WindowProps& props)
	{
#ifdef DM_PLAT_WIN
		return MakeScope<WindowsWindow>(props);
#else
		DM_CORE_ASSERT(false, "Unknown platform!");
		return nullptr;
#endif // DM_PLAT_WIN
	}
}